
<table class="table  table-hover m-b-none table-hover ">
    <thead>
        <tr>
            <th width="80">ID</th>
            <th>标签标题</th>
            <th width="100">商品数量</th>
            <th width="80">排序号</th>
            <th width="100">是否启用</th>
            <th width="140">添加时间</th>
            <th width="80">操作</th>
        </tr>
    </thead>
    <tbody>
{volist name="data.list" id="vo"}
        <tr>
       	  	<td>{$vo.id}</td>
       	  	<td>{$vo.title}（{$vo.subtitle}）</td>
            <td>{$vo.goods_num}</td>
            <td>{$vo.sort_order}</td>
            <td>
                <a href="#" data-remote="{:url('ajaxEdit',array('id'=>$vo['id'],'field'=>'status'))}" class="{$vo.status|tplckval='=1','active'}"  data-toggle="class" data-ajax="true"><i class="fa fa-check text-success text-active"></i><i class="fa fa-times text-danger text"></i></a>
            </td>
            <td>{$vo.add_time|dateTpl}</td>
            <td>
                <a href="{:url('info',array('id'=>$vo['id']))}" class="m-xs" title="编辑">
                    <i class="fa fa-edit text-muted"></i>
                </a>
                <a href="{:url('del',array('id'=>$vo['id']))}" data-toggle="ajaxRemove" data-msg="确定删除该标签？" class="m-xs" title="删除">
                    <i class="fa fa-trash-o text-muted"></i>
                </a>
            </td>
        </tr>
{/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%" >
 	<tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}
